.button-group {
  text-align: right;
  display: flex;
  flex-wrap: wrap;

  .ant-badge {
    margin: 10px;
  }

  [nz-button] {
    min-width: 98px;
  }

  .btn-1 {
    background: #1890FF;
    color: #ffffff;
  }

  .btn-2 {
    background: #36C2CF;
    color: #ffffff;
  }

  .btn-3 {
    background: #DBE9F3;
    color: #0092F1;
  }

  .btn-4 {
    background: #66A4DD;
    color: #ffffff;
  }

  .btn-5 {
    background: #50BCA4;
    color: #ffffff;
  }

  .btn-6 {
    background: #008f9f;
    color: #ffffff;
  }
}


::ng-deep .dispatch-modal {
  .ant-modal-header {
    background: #2F88FC;

    padding: 9px 24px;

    .title-text {
      color: #ffffff;
    }

    .ant-modal-title {
      color: #ffffff;
    }
  }

  .ant-modal-body {
    padding: 0;
  }

  .ant-modal-close-x {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #ffffff;
  }

  .ant-modal-footer {
    padding: 0;
  }

  .ant-radio-inner {
    border-color: #FFAE00;
  }

  .ant-radio-inner::after {
    background-color: #FFAE00;
  }

  .ant-radio-disabled .ant-radio-inner::after {
    background-color: #cccccc;
  }

  .ant-radio-wrapper:hover .ant-radio,
  .ant-radio:hover .ant-radio-inner,
  .ant-radio-input:focus + .ant-radio-inner {
    border-color: #FFAE00;
  }

  .ant-radio-disabled .ant-radio-inner {
    background-color: #f5f5f5;
    border-color: #d9d9d9 !important;
    cursor: not-allowed;
  }

  .ant-input:hover {
    border-color: #FFAE00;
  }

  .ant-input:focus {
    border-color: #FFAE00;
    box-shadow: 0 0 0 2px rgba(255, 174, 0, 0.2);
  }

  .ant-input-number:hover {
    border-color: #FFAE00;
  }

  .ant-input-number:focus {
    border-color: #FFAE00;
    box-shadow: 0 0 0 2px rgba(255, 174, 0, 0.2);
  }

  .ant-input-number-focused {
    border-color: #FFAE00;
    box-shadow: 0 0 0 2px rgba(255, 174, 0, 0.2);
  }

  .ant-calendar-picker:hover .ant-calendar-picker-input:not(.ant-input-disabled) {
    border-color: #FFAE00;
  }

  .ant-calendar-picker:focus .ant-calendar-picker-input:not(.ant-input-disabled) {
    border-color: #FFAE00;
    border-right-width: 1px !important;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  }

  .flow-modal {
    .node-list {
      position: absolute;
      left: 0;
      width: 220px;
      box-sizing: border-box;
      height: calc(100% - 42px);
      overflow-y: auto;
      background-image: url("../../../assets/images/ght/modal/modal-right-bg.png");
      background-size: 100% 100%;
      background-position: center;
      background-repeat: no-repeat;

      .node-item {
        cursor: pointer;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-bottom: 1px solid #F5F5F5;

        &.active {
          width: 200px;
          background: linear-gradient(to right, #2F7EFB, #2F98FE);
          color: #ffffff;
          border-radius: 0 4px 4px 0;
        }
      }

      .node-item:hover {
        background: #F7F9FA;
        color: #1579DF;
      }
    }

    .modal-right {
      flex: 1;
      padding: 0 0 20px 220px;
      background: #F4F7FA;

      .water-level {
        margin-bottom: 10px;
        padding: 0 20px;
        font-size: 14px;
        height: 34px;
        line-height: 34px;
        background: #FFFBE7;
        color: #333333;

        .icon {
          position: relative;
          top: -2px;
          width: 16px;
          margin-right: 10px;
        }

        .blue {
          color: #437DCB;
        }

        span {
          display: inline-block;
          margin-right: 20px;
        }

      }
    }

    .node-detail {
      background: #ffffff;
      margin: 0 20px 0 20px;

      .base-info {
        padding: 10px 10px;

        .ant-col.ant-col-8 {
          padding: 5px 5px;
        }

        img {
          vertical-align: top;
        }

        .base-info-title {
          display: inline-block;
          width: 205px;
          height: 28px;
          padding: 5px 20px;
          color: #18A7F0;
          background: url("../../../assets/images/ght/modal/baseinfo-title-bg.png") no-repeat;
        }

        .base-info-detail {
          margin-left: 23px;
          margin-top: -10px;
          color: #555555;

          .base-info-item {
            margin-bottom: 15px;

            .dot {
              display: inline-block;
              width: 8px;
              height: 8px;
              margin: 2px 10px;
              opacity: 0.4;
              border-radius: 50%;

              &.now {
                background: #0C9DE6;
              }

              &.plan {
                background: #4ADEE1;
              }

              &.compare {
                background: #797FF3;
              }
            }

            .text-key {
              color: #999999;
              display: inline-block;
              width: 5em;
            }

            .text-value {
              display: inline-block;
              width: 114px;
              text-align: right;
            }
          }

        }
      }

      form {
        padding: 0 23px;
      }

      .divider {
        height: 1PX;
        width: 100%;
        margin: 0 auto;
        background: url("../../../assets/images/ght/modal/divider.png") no-repeat;;
      }

      .other-info {
        padding: 10px 15px;
        white-space: nowrap;
        overflow-x: auto;
        display: flex;

        .other-info-item {
          display: inline-block;
          box-sizing: border-box;
          flex: 1;
          height: 110px;
          background: url("../../../assets/images/ght/modal/other-info-bg.png") no-repeat;
          background-size: 100% 100%;
          margin: 5px;
          padding: 5px;

          .content {
            margin-bottom: 15px;

            img {
              margin-right: 10px;
            }

            .key {
              color: #31373D;
            }

            .value {
              color: #777777;

              &.remark {
                height: 50px;
              }
            }

            textarea {
              width: calc(100% - 100px);
              height: 35px;
              resize: none;
              vertical-align: top;
              border: none;
              margin-top: -2px;
              background: transparent;
            }
          }

        }

        .ant-col {
          padding: 2px 0;
        }
      }

      .ant-form-item-label {
        width: 6em;
        text-align: left;
      }

      .ant-form-item-label > label {
        color: #31373D;
      }

      .ant-input[disabled] {
        background: #F9FAFB;
      }

      .ant-form-vertical .ant-form-item-label {
        padding: 0 0 3px;
      }

      .ant-form-item {
        margin-bottom: 2px;
      }

      .tip {
        margin: 10px 20px;
      }

      textarea {
        width: 800px;
        height: 60px;
      }
    }

  }

  .modal-button-wrap {
    text-align: center;
    padding: 10px;

    [nz-button] {
      margin: 0 15px;
    }

    .btn-1 {
      width: 100px;
      height: 40px;
      color: #ffffff;
      background: linear-gradient(to right, #2F7EFB, #2F98FE);
    }

    .btn-2 {
      width: 100px;
      height: 40px;
      color: #31373D;
      background: #E1E1E1;
    }
  }

  .table-modal-wrap {
    display: flex;
    height: 600px;
    overflow-y: scroll;

    .left {
      width: 33%;
      height: 100%;
      box-sizing: border-box;
      margin-right: 20px;
    }

    .right {
      width: 66%;
      height: 100%;
      box-sizing: border-box;
    }
  }

  nz-select {
    width: 180px;
  }
}
